.TH std::filesystem::directory_iterator::operator*, 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::filesystem::directory_iterator::operator*, \- std::filesystem::directory_iterator::operator*,

.SH Synopsis

   const std::filesystem::directory_entry& operator*() const;  \fB(1)\fP \fI(since C++17)\fP
   const std::filesystem::directory_entry* operator->() const; \fB(2)\fP \fI(since C++17)\fP

   Accesses the pointed-to directory_entry.

   The result of operator* or operator-> on the end iterator is undefined behavior.

.SH Parameters

   \fI(none)\fP

.SH Return value

   1) Value of the directory_entry referred to by this iterator.
   2) Pointer to the directory_entry referred to by this iterator.

.SH Exceptions

   May throw implementation-defined exceptions.

.SH See also

   operator*  accesses the pointed-to entry
   operator-> \fI(public member function of std::filesystem::recursive_directory_iterator)\fP

